How can I convert a generic type T to a byte array in the Write function

visit shbcf.ru